package org.aristotle.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import org.aristotle.user.model.dto.RoleDTO;
import org.aristotle.user.model.entity.Role;
import org.aristotle.user.model.vo.RoleVO;

public interface IRoleService extends IService<Role> {
    Page<RoleVO> queryPageList(
        Long id,
        String identifier,
        String name,
        Integer current,
        Integer size
    );

    RoleVO getById(Long id);

    Boolean removeById(Long id);


    RoleDTO getDTOById(Long roleId);

    Role getPoById(Long id);
}
